//
//  filtrateView.h
//  PTravel
//
//  Created by dllo on 15/11/21.
//  Copyright © 2015年 李涵. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol FiltrateViewDelegate <NSObject>

- (void)okBtn;

@end

@interface filtrateView : UIView<UITableViewDataSource, UITableViewDelegate>


@property (retain, nonatomic)UIView *sliderView;//上边的一条View
@property (retain, nonatomic)UIButton *locationButton;//出发地button
@property (retain, nonatomic)UIButton *travelButton;//旅行时间button
@property (retain, nonatomic)UILabel *filrateLabel;//筛选label
@property (retain, nonatomic)UIButton *OKBtn;//确定按钮
@property (retain, nonatomic)UITableView *myTableView;//tableview
@property (retain, nonatomic)NSMutableArray *locationArr;//出发地数组
@property (retain, nonatomic)NSMutableArray *timeArr;//旅行时间数组
@property (retain, nonatomic)NSMutableArray *locationValueArr;//出发地值数组
@property (retain, nonatomic)NSMutableArray *timeValueArr;//旅行时间值数组
@property (assign, nonatomic)BOOL isTime;//是否是旅行时间
@property (copy, nonatomic)NSString *time;//时间参数
@property (copy, nonatomic)NSString *location;//地点参数
@property (assign, nonatomic)id<FiltrateViewDelegate>filtrateViewDelegate;


@end





